# Use gcc
CC = gcc

# link flags
SFLAGS = -lpthread
CFLAGS = -lpthread -lglut

#The main target
all:
	$(CC) $(CFLAGS) client/*.c -o client/client
	$(CC) $(SFLAGS) server/*.c -o server/server
	@echo "\n\nBuild succeeded, for help, go to http://code.google.com/p/dotgame-of-community/\n\n"
